const prodPlugins = []
const devPlugins = []
const devPresets = []
if (process.env.NODE_ENV === 'production') {
  prodPlugins.push('transform-remove-console')
} else {
  devPresets.push('@vue/cli-plugin-babel/preset')
}
module.exports = {
  presets: [
    ...devPresets
  ],
  plugins: [
    ...devPlugins,
    ...prodPlugins
  ]
}
